package com.entity;
public class Scrap {
    private Integer id;//主键，UUID
    private Integer score;//积分（分/千克）
    private String unit;//回收单位
    private String scrapCode;//废品编码
    private Integer price;//价格（元/千克）
    private String category;//类别，（数据字典可查）
    private String scrapName;//废品名称

    //SysDict类的属性 种类名称
    private String categoryName;

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    public Integer getId() {
        return this.id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getScore() {
        return this.score;
    }

    public void setScore(Integer score) {
        this.score = score;
    }

    public String getUnit() {
        return this.unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public String getScrapCode() {
        return this.scrapCode;
    }

    public void setScrapCode(String scrapCode) {
        this.scrapCode = scrapCode;
    }

    public Integer getPrice() {
        return this.price;
    }

    public void setPrice(Integer price) {
        this.price = price;
    }

    public String getCategory() {
        return this.category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public String getScrapName() {
        return this.scrapName;
    }

    public void setScrapName(String scrapName) {
        this.scrapName = scrapName;
    }

    @Override
    public String toString() {
        return "Scrap{" +
                "id=" + id +
                ", score=" + score +
                ", unit='" + unit + '\'' +
                ", scrapCode='" + scrapCode + '\'' +
                ", price=" + price +
                ", category='" + category + '\'' +
                ", scrapName='" + scrapName + '\'' +
                '}';
    }
}
